import request from '@/utils/request'

export function add(data) {
  return request({
    url: 'api/plasticDeposit/addOrSave',
    method: 'post',
    data
  })
}

export function del(ids) {
  return request({
    url: 'api/plasticDeposit/',
    method: 'delete',
    data: ids
  })
}

export function edit(data) {
  return request({
    url: 'api/plasticDeposit/addOrSave',
    method: 'post',
    data
  })
}

export function exportDe(data) {
    return request({
        url: 'api/plasticDeposit/export',
        method: 'post',
        data
    })
}

export function importDe(data) {
    return request({
        url: 'api/plasticDeposit/import',
        method: 'post',
        data
    })
}

export function adjust(data) {
  return request({
    url: 'api/plasticDeposit/adjust',
    method: 'post',
    data
  })
}


export default { add, edit,exportDe, importDe, del, adjust }
